package com.desksoft.ecommerce.entity.logistics.dto;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class RegistryExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public RegistryExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andRegkeyIsNull() {
            addCriterion("RegKey is null");
            return (Criteria) this;
        }

        public Criteria andRegkeyIsNotNull() {
            addCriterion("RegKey is not null");
            return (Criteria) this;
        }

        public Criteria andRegkeyEqualTo(String value) {
            addCriterion("RegKey =", value, "regkey");
            return (Criteria) this;
        }

        public Criteria andRegkeyNotEqualTo(String value) {
            addCriterion("RegKey <>", value, "regkey");
            return (Criteria) this;
        }

        public Criteria andRegkeyGreaterThan(String value) {
            addCriterion("RegKey >", value, "regkey");
            return (Criteria) this;
        }

        public Criteria andRegkeyGreaterThanOrEqualTo(String value) {
            addCriterion("RegKey >=", value, "regkey");
            return (Criteria) this;
        }

        public Criteria andRegkeyLessThan(String value) {
            addCriterion("RegKey <", value, "regkey");
            return (Criteria) this;
        }

        public Criteria andRegkeyLessThanOrEqualTo(String value) {
            addCriterion("RegKey <=", value, "regkey");
            return (Criteria) this;
        }

        public Criteria andRegkeyLike(String value) {
            addCriterion("RegKey like", value, "regkey");
            return (Criteria) this;
        }

        public Criteria andRegkeyNotLike(String value) {
            addCriterion("RegKey not like", value, "regkey");
            return (Criteria) this;
        }

        public Criteria andRegkeyIn(List<String> values) {
            addCriterion("RegKey in", values, "regkey");
            return (Criteria) this;
        }

        public Criteria andRegkeyNotIn(List<String> values) {
            addCriterion("RegKey not in", values, "regkey");
            return (Criteria) this;
        }

        public Criteria andRegkeyBetween(String value1, String value2) {
            addCriterion("RegKey between", value1, value2, "regkey");
            return (Criteria) this;
        }

        public Criteria andRegkeyNotBetween(String value1, String value2) {
            addCriterion("RegKey not between", value1, value2, "regkey");
            return (Criteria) this;
        }

        public Criteria andUseridIsNull() {
            addCriterion("UserID is null");
            return (Criteria) this;
        }

        public Criteria andUseridIsNotNull() {
            addCriterion("UserID is not null");
            return (Criteria) this;
        }

        public Criteria andUseridEqualTo(String value) {
            addCriterion("UserID =", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridNotEqualTo(String value) {
            addCriterion("UserID <>", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridGreaterThan(String value) {
            addCriterion("UserID >", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridGreaterThanOrEqualTo(String value) {
            addCriterion("UserID >=", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridLessThan(String value) {
            addCriterion("UserID <", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridLessThanOrEqualTo(String value) {
            addCriterion("UserID <=", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridLike(String value) {
            addCriterion("UserID like", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridNotLike(String value) {
            addCriterion("UserID not like", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridIn(List<String> values) {
            addCriterion("UserID in", values, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridNotIn(List<String> values) {
            addCriterion("UserID not in", values, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridBetween(String value1, String value2) {
            addCriterion("UserID between", value1, value2, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridNotBetween(String value1, String value2) {
            addCriterion("UserID not between", value1, value2, "userid");
            return (Criteria) this;
        }

        public Criteria andValuenameIsNull() {
            addCriterion("ValueName is null");
            return (Criteria) this;
        }

        public Criteria andValuenameIsNotNull() {
            addCriterion("ValueName is not null");
            return (Criteria) this;
        }

        public Criteria andValuenameEqualTo(String value) {
            addCriterion("ValueName =", value, "valuename");
            return (Criteria) this;
        }

        public Criteria andValuenameNotEqualTo(String value) {
            addCriterion("ValueName <>", value, "valuename");
            return (Criteria) this;
        }

        public Criteria andValuenameGreaterThan(String value) {
            addCriterion("ValueName >", value, "valuename");
            return (Criteria) this;
        }

        public Criteria andValuenameGreaterThanOrEqualTo(String value) {
            addCriterion("ValueName >=", value, "valuename");
            return (Criteria) this;
        }

        public Criteria andValuenameLessThan(String value) {
            addCriterion("ValueName <", value, "valuename");
            return (Criteria) this;
        }

        public Criteria andValuenameLessThanOrEqualTo(String value) {
            addCriterion("ValueName <=", value, "valuename");
            return (Criteria) this;
        }

        public Criteria andValuenameLike(String value) {
            addCriterion("ValueName like", value, "valuename");
            return (Criteria) this;
        }

        public Criteria andValuenameNotLike(String value) {
            addCriterion("ValueName not like", value, "valuename");
            return (Criteria) this;
        }

        public Criteria andValuenameIn(List<String> values) {
            addCriterion("ValueName in", values, "valuename");
            return (Criteria) this;
        }

        public Criteria andValuenameNotIn(List<String> values) {
            addCriterion("ValueName not in", values, "valuename");
            return (Criteria) this;
        }

        public Criteria andValuenameBetween(String value1, String value2) {
            addCriterion("ValueName between", value1, value2, "valuename");
            return (Criteria) this;
        }

        public Criteria andValuenameNotBetween(String value1, String value2) {
            addCriterion("ValueName not between", value1, value2, "valuename");
            return (Criteria) this;
        }

        public Criteria andRegvalueIsNull() {
            addCriterion("RegValue is null");
            return (Criteria) this;
        }

        public Criteria andRegvalueIsNotNull() {
            addCriterion("RegValue is not null");
            return (Criteria) this;
        }

        public Criteria andRegvalueEqualTo(String value) {
            addCriterion("RegValue =", value, "regvalue");
            return (Criteria) this;
        }

        public Criteria andRegvalueNotEqualTo(String value) {
            addCriterion("RegValue <>", value, "regvalue");
            return (Criteria) this;
        }

        public Criteria andRegvalueGreaterThan(String value) {
            addCriterion("RegValue >", value, "regvalue");
            return (Criteria) this;
        }

        public Criteria andRegvalueGreaterThanOrEqualTo(String value) {
            addCriterion("RegValue >=", value, "regvalue");
            return (Criteria) this;
        }

        public Criteria andRegvalueLessThan(String value) {
            addCriterion("RegValue <", value, "regvalue");
            return (Criteria) this;
        }

        public Criteria andRegvalueLessThanOrEqualTo(String value) {
            addCriterion("RegValue <=", value, "regvalue");
            return (Criteria) this;
        }

        public Criteria andRegvalueLike(String value) {
            addCriterion("RegValue like", value, "regvalue");
            return (Criteria) this;
        }

        public Criteria andRegvalueNotLike(String value) {
            addCriterion("RegValue not like", value, "regvalue");
            return (Criteria) this;
        }

        public Criteria andRegvalueIn(List<String> values) {
            addCriterion("RegValue in", values, "regvalue");
            return (Criteria) this;
        }

        public Criteria andRegvalueNotIn(List<String> values) {
            addCriterion("RegValue not in", values, "regvalue");
            return (Criteria) this;
        }

        public Criteria andRegvalueBetween(String value1, String value2) {
            addCriterion("RegValue between", value1, value2, "regvalue");
            return (Criteria) this;
        }

        public Criteria andRegvalueNotBetween(String value1, String value2) {
            addCriterion("RegValue not between", value1, value2, "regvalue");
            return (Criteria) this;
        }

        public Criteria andValueparmIsNull() {
            addCriterion("ValueParm is null");
            return (Criteria) this;
        }

        public Criteria andValueparmIsNotNull() {
            addCriterion("ValueParm is not null");
            return (Criteria) this;
        }

        public Criteria andValueparmEqualTo(String value) {
            addCriterion("ValueParm =", value, "valueparm");
            return (Criteria) this;
        }

        public Criteria andValueparmNotEqualTo(String value) {
            addCriterion("ValueParm <>", value, "valueparm");
            return (Criteria) this;
        }

        public Criteria andValueparmGreaterThan(String value) {
            addCriterion("ValueParm >", value, "valueparm");
            return (Criteria) this;
        }

        public Criteria andValueparmGreaterThanOrEqualTo(String value) {
            addCriterion("ValueParm >=", value, "valueparm");
            return (Criteria) this;
        }

        public Criteria andValueparmLessThan(String value) {
            addCriterion("ValueParm <", value, "valueparm");
            return (Criteria) this;
        }

        public Criteria andValueparmLessThanOrEqualTo(String value) {
            addCriterion("ValueParm <=", value, "valueparm");
            return (Criteria) this;
        }

        public Criteria andValueparmLike(String value) {
            addCriterion("ValueParm like", value, "valueparm");
            return (Criteria) this;
        }

        public Criteria andValueparmNotLike(String value) {
            addCriterion("ValueParm not like", value, "valueparm");
            return (Criteria) this;
        }

        public Criteria andValueparmIn(List<String> values) {
            addCriterion("ValueParm in", values, "valueparm");
            return (Criteria) this;
        }

        public Criteria andValueparmNotIn(List<String> values) {
            addCriterion("ValueParm not in", values, "valueparm");
            return (Criteria) this;
        }

        public Criteria andValueparmBetween(String value1, String value2) {
            addCriterion("ValueParm between", value1, value2, "valueparm");
            return (Criteria) this;
        }

        public Criteria andValueparmNotBetween(String value1, String value2) {
            addCriterion("ValueParm not between", value1, value2, "valueparm");
            return (Criteria) this;
        }

        public Criteria andSharedtagIsNull() {
            addCriterion("SharedTag is null");
            return (Criteria) this;
        }

        public Criteria andSharedtagIsNotNull() {
            addCriterion("SharedTag is not null");
            return (Criteria) this;
        }

        public Criteria andSharedtagEqualTo(String value) {
            addCriterion("SharedTag =", value, "sharedtag");
            return (Criteria) this;
        }

        public Criteria andSharedtagNotEqualTo(String value) {
            addCriterion("SharedTag <>", value, "sharedtag");
            return (Criteria) this;
        }

        public Criteria andSharedtagGreaterThan(String value) {
            addCriterion("SharedTag >", value, "sharedtag");
            return (Criteria) this;
        }

        public Criteria andSharedtagGreaterThanOrEqualTo(String value) {
            addCriterion("SharedTag >=", value, "sharedtag");
            return (Criteria) this;
        }

        public Criteria andSharedtagLessThan(String value) {
            addCriterion("SharedTag <", value, "sharedtag");
            return (Criteria) this;
        }

        public Criteria andSharedtagLessThanOrEqualTo(String value) {
            addCriterion("SharedTag <=", value, "sharedtag");
            return (Criteria) this;
        }

        public Criteria andSharedtagLike(String value) {
            addCriterion("SharedTag like", value, "sharedtag");
            return (Criteria) this;
        }

        public Criteria andSharedtagNotLike(String value) {
            addCriterion("SharedTag not like", value, "sharedtag");
            return (Criteria) this;
        }

        public Criteria andSharedtagIn(List<String> values) {
            addCriterion("SharedTag in", values, "sharedtag");
            return (Criteria) this;
        }

        public Criteria andSharedtagNotIn(List<String> values) {
            addCriterion("SharedTag not in", values, "sharedtag");
            return (Criteria) this;
        }

        public Criteria andSharedtagBetween(String value1, String value2) {
            addCriterion("SharedTag between", value1, value2, "sharedtag");
            return (Criteria) this;
        }

        public Criteria andSharedtagNotBetween(String value1, String value2) {
            addCriterion("SharedTag not between", value1, value2, "sharedtag");
            return (Criteria) this;
        }

        public Criteria andShowsetIsNull() {
            addCriterion("ShowSet is null");
            return (Criteria) this;
        }

        public Criteria andShowsetIsNotNull() {
            addCriterion("ShowSet is not null");
            return (Criteria) this;
        }

        public Criteria andShowsetEqualTo(String value) {
            addCriterion("ShowSet =", value, "showset");
            return (Criteria) this;
        }

        public Criteria andShowsetNotEqualTo(String value) {
            addCriterion("ShowSet <>", value, "showset");
            return (Criteria) this;
        }

        public Criteria andShowsetGreaterThan(String value) {
            addCriterion("ShowSet >", value, "showset");
            return (Criteria) this;
        }

        public Criteria andShowsetGreaterThanOrEqualTo(String value) {
            addCriterion("ShowSet >=", value, "showset");
            return (Criteria) this;
        }

        public Criteria andShowsetLessThan(String value) {
            addCriterion("ShowSet <", value, "showset");
            return (Criteria) this;
        }

        public Criteria andShowsetLessThanOrEqualTo(String value) {
            addCriterion("ShowSet <=", value, "showset");
            return (Criteria) this;
        }

        public Criteria andShowsetLike(String value) {
            addCriterion("ShowSet like", value, "showset");
            return (Criteria) this;
        }

        public Criteria andShowsetNotLike(String value) {
            addCriterion("ShowSet not like", value, "showset");
            return (Criteria) this;
        }

        public Criteria andShowsetIn(List<String> values) {
            addCriterion("ShowSet in", values, "showset");
            return (Criteria) this;
        }

        public Criteria andShowsetNotIn(List<String> values) {
            addCriterion("ShowSet not in", values, "showset");
            return (Criteria) this;
        }

        public Criteria andShowsetBetween(String value1, String value2) {
            addCriterion("ShowSet between", value1, value2, "showset");
            return (Criteria) this;
        }

        public Criteria andShowsetNotBetween(String value1, String value2) {
            addCriterion("ShowSet not between", value1, value2, "showset");
            return (Criteria) this;
        }

        public Criteria andKeyparmIsNull() {
            addCriterion("KeyParm is null");
            return (Criteria) this;
        }

        public Criteria andKeyparmIsNotNull() {
            addCriterion("KeyParm is not null");
            return (Criteria) this;
        }

        public Criteria andKeyparmEqualTo(String value) {
            addCriterion("KeyParm =", value, "keyparm");
            return (Criteria) this;
        }

        public Criteria andKeyparmNotEqualTo(String value) {
            addCriterion("KeyParm <>", value, "keyparm");
            return (Criteria) this;
        }

        public Criteria andKeyparmGreaterThan(String value) {
            addCriterion("KeyParm >", value, "keyparm");
            return (Criteria) this;
        }

        public Criteria andKeyparmGreaterThanOrEqualTo(String value) {
            addCriterion("KeyParm >=", value, "keyparm");
            return (Criteria) this;
        }

        public Criteria andKeyparmLessThan(String value) {
            addCriterion("KeyParm <", value, "keyparm");
            return (Criteria) this;
        }

        public Criteria andKeyparmLessThanOrEqualTo(String value) {
            addCriterion("KeyParm <=", value, "keyparm");
            return (Criteria) this;
        }

        public Criteria andKeyparmLike(String value) {
            addCriterion("KeyParm like", value, "keyparm");
            return (Criteria) this;
        }

        public Criteria andKeyparmNotLike(String value) {
            addCriterion("KeyParm not like", value, "keyparm");
            return (Criteria) this;
        }

        public Criteria andKeyparmIn(List<String> values) {
            addCriterion("KeyParm in", values, "keyparm");
            return (Criteria) this;
        }

        public Criteria andKeyparmNotIn(List<String> values) {
            addCriterion("KeyParm not in", values, "keyparm");
            return (Criteria) this;
        }

        public Criteria andKeyparmBetween(String value1, String value2) {
            addCriterion("KeyParm between", value1, value2, "keyparm");
            return (Criteria) this;
        }

        public Criteria andKeyparmNotBetween(String value1, String value2) {
            addCriterion("KeyParm not between", value1, value2, "keyparm");
            return (Criteria) this;
        }

        public Criteria andShownameIsNull() {
            addCriterion("ShowName is null");
            return (Criteria) this;
        }

        public Criteria andShownameIsNotNull() {
            addCriterion("ShowName is not null");
            return (Criteria) this;
        }

        public Criteria andShownameEqualTo(String value) {
            addCriterion("ShowName =", value, "showname");
            return (Criteria) this;
        }

        public Criteria andShownameNotEqualTo(String value) {
            addCriterion("ShowName <>", value, "showname");
            return (Criteria) this;
        }

        public Criteria andShownameGreaterThan(String value) {
            addCriterion("ShowName >", value, "showname");
            return (Criteria) this;
        }

        public Criteria andShownameGreaterThanOrEqualTo(String value) {
            addCriterion("ShowName >=", value, "showname");
            return (Criteria) this;
        }

        public Criteria andShownameLessThan(String value) {
            addCriterion("ShowName <", value, "showname");
            return (Criteria) this;
        }

        public Criteria andShownameLessThanOrEqualTo(String value) {
            addCriterion("ShowName <=", value, "showname");
            return (Criteria) this;
        }

        public Criteria andShownameLike(String value) {
            addCriterion("ShowName like", value, "showname");
            return (Criteria) this;
        }

        public Criteria andShownameNotLike(String value) {
            addCriterion("ShowName not like", value, "showname");
            return (Criteria) this;
        }

        public Criteria andShownameIn(List<String> values) {
            addCriterion("ShowName in", values, "showname");
            return (Criteria) this;
        }

        public Criteria andShownameNotIn(List<String> values) {
            addCriterion("ShowName not in", values, "showname");
            return (Criteria) this;
        }

        public Criteria andShownameBetween(String value1, String value2) {
            addCriterion("ShowName between", value1, value2, "showname");
            return (Criteria) this;
        }

        public Criteria andShownameNotBetween(String value1, String value2) {
            addCriterion("ShowName not between", value1, value2, "showname");
            return (Criteria) this;
        }

        public Criteria andRegmoduIsNull() {
            addCriterion("RegModu is null");
            return (Criteria) this;
        }

        public Criteria andRegmoduIsNotNull() {
            addCriterion("RegModu is not null");
            return (Criteria) this;
        }

        public Criteria andRegmoduEqualTo(String value) {
            addCriterion("RegModu =", value, "regmodu");
            return (Criteria) this;
        }

        public Criteria andRegmoduNotEqualTo(String value) {
            addCriterion("RegModu <>", value, "regmodu");
            return (Criteria) this;
        }

        public Criteria andRegmoduGreaterThan(String value) {
            addCriterion("RegModu >", value, "regmodu");
            return (Criteria) this;
        }

        public Criteria andRegmoduGreaterThanOrEqualTo(String value) {
            addCriterion("RegModu >=", value, "regmodu");
            return (Criteria) this;
        }

        public Criteria andRegmoduLessThan(String value) {
            addCriterion("RegModu <", value, "regmodu");
            return (Criteria) this;
        }

        public Criteria andRegmoduLessThanOrEqualTo(String value) {
            addCriterion("RegModu <=", value, "regmodu");
            return (Criteria) this;
        }

        public Criteria andRegmoduLike(String value) {
            addCriterion("RegModu like", value, "regmodu");
            return (Criteria) this;
        }

        public Criteria andRegmoduNotLike(String value) {
            addCriterion("RegModu not like", value, "regmodu");
            return (Criteria) this;
        }

        public Criteria andRegmoduIn(List<String> values) {
            addCriterion("RegModu in", values, "regmodu");
            return (Criteria) this;
        }

        public Criteria andRegmoduNotIn(List<String> values) {
            addCriterion("RegModu not in", values, "regmodu");
            return (Criteria) this;
        }

        public Criteria andRegmoduBetween(String value1, String value2) {
            addCriterion("RegModu between", value1, value2, "regmodu");
            return (Criteria) this;
        }

        public Criteria andRegmoduNotBetween(String value1, String value2) {
            addCriterion("RegModu not between", value1, value2, "regmodu");
            return (Criteria) this;
        }

        public Criteria andDccodeIsNull() {
            addCriterion("DCCode is null");
            return (Criteria) this;
        }

        public Criteria andDccodeIsNotNull() {
            addCriterion("DCCode is not null");
            return (Criteria) this;
        }

        public Criteria andDccodeEqualTo(String value) {
            addCriterion("DCCode =", value, "dccode");
            return (Criteria) this;
        }

        public Criteria andDccodeNotEqualTo(String value) {
            addCriterion("DCCode <>", value, "dccode");
            return (Criteria) this;
        }

        public Criteria andDccodeGreaterThan(String value) {
            addCriterion("DCCode >", value, "dccode");
            return (Criteria) this;
        }

        public Criteria andDccodeGreaterThanOrEqualTo(String value) {
            addCriterion("DCCode >=", value, "dccode");
            return (Criteria) this;
        }

        public Criteria andDccodeLessThan(String value) {
            addCriterion("DCCode <", value, "dccode");
            return (Criteria) this;
        }

        public Criteria andDccodeLessThanOrEqualTo(String value) {
            addCriterion("DCCode <=", value, "dccode");
            return (Criteria) this;
        }

        public Criteria andDccodeLike(String value) {
            addCriterion("DCCode like", value, "dccode");
            return (Criteria) this;
        }

        public Criteria andDccodeNotLike(String value) {
            addCriterion("DCCode not like", value, "dccode");
            return (Criteria) this;
        }

        public Criteria andDccodeIn(List<String> values) {
            addCriterion("DCCode in", values, "dccode");
            return (Criteria) this;
        }

        public Criteria andDccodeNotIn(List<String> values) {
            addCriterion("DCCode not in", values, "dccode");
            return (Criteria) this;
        }

        public Criteria andDccodeBetween(String value1, String value2) {
            addCriterion("DCCode between", value1, value2, "dccode");
            return (Criteria) this;
        }

        public Criteria andDccodeNotBetween(String value1, String value2) {
            addCriterion("DCCode not between", value1, value2, "dccode");
            return (Criteria) this;
        }

        public Criteria andNewupdateIsNull() {
            addCriterion("NewUpdate is null");
            return (Criteria) this;
        }

        public Criteria andNewupdateIsNotNull() {
            addCriterion("NewUpdate is not null");
            return (Criteria) this;
        }

        public Criteria andNewupdateEqualTo(Date value) {
            addCriterion("NewUpdate =", value, "newupdate");
            return (Criteria) this;
        }

        public Criteria andNewupdateNotEqualTo(Date value) {
            addCriterion("NewUpdate <>", value, "newupdate");
            return (Criteria) this;
        }

        public Criteria andNewupdateGreaterThan(Date value) {
            addCriterion("NewUpdate >", value, "newupdate");
            return (Criteria) this;
        }

        public Criteria andNewupdateGreaterThanOrEqualTo(Date value) {
            addCriterion("NewUpdate >=", value, "newupdate");
            return (Criteria) this;
        }

        public Criteria andNewupdateLessThan(Date value) {
            addCriterion("NewUpdate <", value, "newupdate");
            return (Criteria) this;
        }

        public Criteria andNewupdateLessThanOrEqualTo(Date value) {
            addCriterion("NewUpdate <=", value, "newupdate");
            return (Criteria) this;
        }

        public Criteria andNewupdateIn(List<Date> values) {
            addCriterion("NewUpdate in", values, "newupdate");
            return (Criteria) this;
        }

        public Criteria andNewupdateNotIn(List<Date> values) {
            addCriterion("NewUpdate not in", values, "newupdate");
            return (Criteria) this;
        }

        public Criteria andNewupdateBetween(Date value1, Date value2) {
            addCriterion("NewUpdate between", value1, value2, "newupdate");
            return (Criteria) this;
        }

        public Criteria andNewupdateNotBetween(Date value1, Date value2) {
            addCriterion("NewUpdate not between", value1, value2, "newupdate");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}